package com.lifa.service.impl;
/**
 * 123
 */
import com.lifa.dao.XiaoFeiHuiZongDao;
import com.lifa.entity.Taocan;
import com.lifa.service.XiaoFeiHuiZongService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public class XiaoFeiHuiZongServiceImpl implements XiaoFeiHuiZongService {
    @Autowired
    private XiaoFeiHuiZongDao xiaoFeiHuiZongDao;

    @Override
    public long getTotalCount(String taocan_Name) {
        return xiaoFeiHuiZongDao.getTotalCount(taocan_Name);
    }

    @Override
    public List<Taocan> query(String taocan_Name, int offset, int limit) {
        return xiaoFeiHuiZongDao.query(taocan_Name,offset,limit);
    }
}
